(mark-sexp, mark-defun): Activate the mark.
authorRichard M. Stallman <rms@gnu.org>
Sun, 16 May 1993 15:28:52 +0000 (15:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 16 May 1993 15:28:52 +0000 (15:28 +0000)
lisp/emacs-lisp/lisp.el

index 9cd00517cc21e8af7e1b55c70f69d8d16d5250ed..9c4cbd1d788938668257bca8179646c2a0424df7 100644 (file)
@@ -55,7 +55,8 @@ move to with the same argument."
   (push-mark
     (save-excursion
       (forward-sexp arg)
-      (point))))
+      (point))
+    nil t))
 
 (defun forward-list (&optional arg)
   "Move forward across one balanced group of parentheses.
@@ -188,7 +189,7 @@ The defun marked is the one that contains point or follows point."
   (interactive)
   (push-mark (point))
   (end-of-defun)
-  (push-mark (point))
+  (push-mark (point) nil t)
   (beginning-of-defun)
   (re-search-backward "^\n" (- (point) 1) t))